import request from '@/utils/request'

export function getCoinManageList(params) {
  return request({
    // url: '/coinManage/list',
    url: '/ops/coinManage/list',
    method: 'get',
    params
  })
}

export function getCoinConsumeDetailList(userId) {
  return request({
    // url: '/coinConsumeDetail/list',
    url: '/ops/coinConsumeDetail/list',
    method: 'get',
    params: { userId: userId }
  })
}
